package com.teradyne.merlin2.ui.client.views;

import com.google.gwt.core.client.GWT;
import com.google.gwt.event.dom.client.HasClickHandlers;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Widget;

public class TopMenuViewImpl extends Composite implements TopMenuView {

	private static TopMenuImplUiBinder uiBinder = GWT
			.create(TopMenuImplUiBinder.class);

	interface TopMenuImplUiBinder extends UiBinder<Widget, TopMenuViewImpl> {
	}
	
	@UiField
	Button btnHome;
	
	@UiField
	Button btnOrder;
	
	@UiField
	Button btnQuote;
	
	@UiField
	Button btnWorklist;
	
	private Presenter presenter;

	public TopMenuViewImpl() {
		initWidget(uiBinder.createAndBindUi(this));
	}

	@Override
	public void setPresenter(Presenter presenter) {
		this.presenter = presenter;
	}

	@Override
	public HasClickHandlers getBtnHome() {
		return btnHome;
	}

	@Override
	public HasClickHandlers getBtnOrder() {
		return btnOrder;
	}

	@Override
	public HasClickHandlers getBtnQuote() {
		return btnQuote;
	}

	@Override
	public HasClickHandlers getBtnWorklist() {
		return btnWorklist;
	}



}
